﻿<%@ Control Language="C#" EnableViewState="true" %>
<%@ Register Assembly="Antu.WebControls" Namespace="Antu.WebControls" TagPrefix="CBW" %>
<style type="text/css">
    #ctl00_MainerRegion_ZSPG_FZZBCJEInfoControl___CustomGridList1_DragLayerTable
    {
        background-color: #ffffff;
        border-width: 1px;
        border-color: #1e74b3;
        border-style: solid;
        width: 250px;
        position: absolute;
        padding: 2px;
        overflow: auto;
    }
</style>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-image: url(<%= Antu.Core.Components.SiteSettings.DefaultSiteSettings.DefaultThemeFolderMapPath %>images/menuthb.png);
    margin-top: 1px">
    <tr>
        <td valign="middle" height="30">
            <font id="Font1" style="font-size: 14px; font-weight: bold; color: #3E7CC3; float: left;
                color: black; text-indent: 1em;" runat="server">非住宅房屋征收评估补偿金额汇总 </font>
        </td>
    </tr>
</table>
<table cellpadding="0" cellspacing="0" align="center" class="window_tab_list" style="width: 98%;
    margin: 20px 0 10px 0; line-height: 35px; text-align: center;">
    <tr style="height: 30px;">
        <td>
            产权人：
        </td>
        <td>
            <asp:TextBox ID="txtCQR" runat="server"></asp:TextBox>
        </td>
        <td>
            承租人：
        </td>
        <td>
            <asp:TextBox ID="txtCZR" runat="server"></asp:TextBox>
        </td>
        <td>
            房屋坐落：
        </td>
        <td>
            <asp:TextBox ID="txtFWZL" runat="server"></asp:TextBox>
        </td>
        <td>
            <asp:Button ID="btnSeach" runat="server" Text="查询" />
        </td>
        <td>
            <input type="button" value="返回" onclick="javascript:window.location.href=('ZSPG_ZZBCJE.aspx');" />
        </td>
    </tr>
</table>
<center style="margin-left: 10px;">
    <CBW:CustomGridView ShowItemNumber="true" AutoGenerateColumns="false" ID="CustomGridList1"
        runat="server" AllowPaging="true" AllowSorting="false" CustomSortExpression=""
        HideTextLength="20" ShowCmpAndCancel="False" ShowHideColModel="Menu" Width="99%"
        CssClass="window_tab_list" CustomGridViewClass="window_tab_list_fst">
        <Columns>
            <asp:BoundField DataField="房屋坐落" HeaderText="房屋坐落" />
            <asp:BoundField DataField="丘号" HeaderText="丘号" />
            <asp:BoundField DataField="产权人" HeaderText="产权人" />
            <asp:BoundField DataField="承租人" HeaderText="承租人" />
            <asp:BoundField DataField="权证性质" HeaderText="权证性质" />
            <asp:BoundField DataField="权证号" HeaderText="权证号" />
            <asp:BoundField DataField="分户建筑面积" HeaderText="分户建筑面积(平方米)" />
            <asp:BoundField DataField="地大于房土地面积" HeaderText="地大于房土地面积(平方米)" />
            <asp:BoundField DataField="房屋用途" HeaderText="房屋用途" />
            <asp:BoundField DataField="所属类别" HeaderText="所属类别" />
            <asp:BoundField DataField="房屋建筑结构" HeaderText="房屋建筑结构" />
            <asp:BoundField DataField="所在层数" HeaderText="所在层数" />
            <asp:TemplateField HeaderText="评估方法">
                <ItemTemplate>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="评估单价" HeaderText="评估单价(元/m2)" />
            <asp:BoundField DataField="评估总价" HeaderText="评估总价(元)" />
            <asp:BoundField DataField="补偿金额合计" HeaderText="补偿金额合计(元)" />
            <asp:BoundField DataField="产权人补偿款" HeaderText="产权人补偿款(元)" />
            <asp:BoundField DataField="承租人补偿款" HeaderText="承租人补偿款(元)" />
            <asp:BoundField DataField="备注" HeaderText="备注" />
        </Columns>
    </CBW:CustomGridView>
    <table cellpadding="0" cellspacing="0" align="left" class="window_tab_list" style="width: 600px;
        height: 35px; margin: 0px 0 10px 0; text-align: center;">
        <tr style="height: 30px;">
            <td align="left">
                <asp:Label ID="lbXmNum" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="lbdzje" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr style="height: 30px;">
            <td align="left">
                <asp:Label ID="lbhzje" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="lbye" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr style="height: 30px;">
            <td align="left">
                <asp:Label ID="Label3" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="Label4" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr style="height: 30px;">
            <td align="left">
                <asp:Label ID="Label5" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="Label6" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        <tr style="height: 30px;">
            <td align="left">
                <asp:Label ID="Label1" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
            <td align="left">
                <asp:Label ID="Label2" runat="server" Text="" ForeColor="Red"></asp:Label>
            </td>
        </tr>
    </table>
</center>
<%--<script type="text/javascript">
    document.onmousedown = DocumentMouseDown;
    var currentX = 0;
    var currentY = 0;
    var whichIt = null;
    var Obj = '';
    var allColLayer = '';
    var colse = 0;
    function DocumentMouseDown() {
        if (allColLayer != "") {
            if (colse == 0) {
                allColLayer.style.display = "none";
            }
        }
    }   
    function ShowAllCol(btn, clientID) {
        allColLayer = document.getElementById(clientID + "_AllColLayer");
        allColLayer.style.position = "absolute";
        allColLayer.style.cursor = "move";
        allColLayer.style.zIndex = 10;
        if (allColLayer.style.display == "none") {
            colse = 0;
            allColLayer.style.left = btn.style.left;
            allColLayer.style.top = btn.style.top;
            var absoluteTop = getAbsoluteTop(btn);
            var absoluteLeft = getAbsoluteLeft(btn);
            if (absoluteLeft > screen.width - 280) {
                allColLayer.style.left = (absoluteLeft - 250) + "px";
            }
            if (absoluteTop > screen.height - 300) {
                allColLayer.style.top = (absoluteTop - 230) + "px";
            }
            allColLayer.style.display = "";
        }
        else {
            allColLayer.style.left = btn.style.left;
            allColLayer.style.top = btn.style.top;
            allColLayer.style.display = "none";
        }
    }
    function MouseDown(id) {
        whichIt = document.getElementById(id);
        if (whichIt != null) {
            whichIt.style.pixelLeft = whichIt.offsetLeft;
            whichIt.style.pixelTop = whichIt.offsetTop;
            currentX = (event.clientX + document.body.scrollLeft);
            currentY = (event.clientY + document.body.scrollTop);
            document.attachEvent('onmousemove', MouseMove);
            document.attachEvent('onmouseup', MouseUp);
        }
        return true;
    }

    function MouseOver() {
        colse = 1;
    }

    function MouseOut() {
        colse = 0;
    }
    function CheckboxOnMouseOver(clientID) {
        if (allColLayer == "") {
            allColLayer = document.getElementById(clientID);
        }
        allColLayer.style.cursor = "";

    }
    function CheckboxOnMouseOut(clientID) {
        if (allColLayer == "") {
            allColLayer = document.getElementById(clientID);
        }
        allColLayer.style.cursor = "move";

    }
    function ShowOrHideCol(chk, col, clientID) {
        var table = document.getElementById(clientID);
        for (i = 0; i < table.rows.length; i++) {
            if (chk.checked) {
                table.rows[i].cells[col - 1].style.display = "";
            }
            else {
                table.rows[i].cells[col - 1].style.display = "none";
            }
        }
        var hiddenInput = document.getElementById(clientID + "_HtmlInputHidden");
        var hiddenInputValue = hiddenInput.value;
        var currentValue = ',' + table.rows[0].cells[col - 1].innerText + ',';
        if (hiddenInputValue != "") {
            hiddenInputValue = ',' + hiddenInputValue;
        }
        else {
            hiddenInputValue = ',';
        }
        if (chk.checked) {
            hiddenInputValue = hiddenInputValue.replace("currentValue", "");
        }
        else {
            hiddenInputValue = hiddenInputValue + currentValue;
        }
        if (hiddenInputValue.length > 2) {
            hiddenInput.value = hiddenInputValue.substring(1, hiddenInputValue.length - 1);
        }
    }
    //返回对象位于窗口的绝对左边距离
    function getAbsoluteLeft(ob) {
        if (!ob) { return null; }
        var obj = ob;
        var objLeft = obj.offsetLeft;
        while (obj != null && obj.offsetParent != null && obj.offsetParent.tagName != "BODY") {
            objLeft += obj.offsetParent.offsetLeft;
            obj = obj.offsetParent;
        }
        return objLeft;
    }
    //返回对象位于窗口的绝对上边距离
    function getAbsoluteTop(ob) {
        if (!ob) { return null; }
        var obj = ob;
        var objTop = obj.offsetTop;
        while (obj != null && obj.offsetParent != null && obj.offsetParent.tagName != "BODY") {
            objTop += obj.offsetParent.offsetTop;
            obj = obj.offsetParent;
        }
        return objTop;
    }
    function MouseMove() {
        if (whichIt != null) {
            newX = (event.clientX + document.body.scrollLeft);
            newY = (event.clientY + document.body.scrollTop);
            distanceX = (newX - currentX);
            distanceY = (newY - currentY);
            currentX = newX;
            currentY = newY;
            whichIt.style.pixelLeft += distanceX;
            whichIt.style.pixelTop += distanceY;
            event.returnValue = false;
        }
        return false;
    }

    function MouseUp() {
        whichIt = null;
        document.detachEvent('onmousemove', MouseMove);
        document.detachEvent('onmouseup', MouseUp);
        return true;
    }
    function MouseDown(id) {
        whichIt = document.getElementById(id);
        if (whichIt != null) {
            whichIt.style.pixelLeft = whichIt.offsetLeft;
            whichIt.style.pixelTop = whichIt.offsetTop;
            currentX = (event.clientX + document.body.scrollLeft);
            currentY = (event.clientY + document.body.scrollTop);
            document.attachEvent('onmousemove', MouseMove);
            document.attachEvent('onmouseup', MouseUp);
        }
        return true;
    }
    function SelectClick(chk, id, chkValue, clientId) {
        var oEvent = document.all(id);
        var chks = oEvent.getElementsByTagName("INPUT");
        for (var i = 0; i < chks.length; i++) {
            if (chks[i].type == "checkbox") {
                if (chkValue == '0') {
                    if (chks[i].value == "on") {
                        chks[i].checked = chk.checked;
                    }
                }
                else {
                    if (chks[i].value != "on") {
                        chks[i].checked = chk.checked;
                    }
                }
            }
        }
        if (clientId != "") {
            var table = document.getElementById(clientId);
            var hiddenInput = document.getElementById(clientId + "_HtmlInputHidden");
            var hiddenValue = '';
            if (!chk.checked) {
                hiddenInput.value = "";
            }
            for (var j = 0; j < table.rows[0].cells.length; j++) {
                if (chk.checked) {
                    hiddenValue = hiddenValue + ',' + table.rows[0].cells[j].innerText;
                }
                for (var k = 0; k < table.rows.length; k++) {
                    if (chk.checked) {
                        table.rows[k].cells[j].style.display = "";
                    }
                    else {
                        table.rows[k].cells[j].style.display = "none";
                    }
                }

            }
            if (hiddenValue != '') {
                hiddenInput.value = hiddenValue.substring(1);
            }
        }
    }
    function RestoreCol(clientID) {
        var htmlInputInit = document.getElementById(clientID + "_HtmlInputInit");
        var hiddenInput = document.getElementById(clientID + "_HtmlInputHidden");
        hiddenInput.value = htmlInputInit.value;
        var table = document.getElementById(clientID);
        var colsIndex = '';
        if (htmlInputInit.value != "") {
            colsIndex = ',' + ChangeNameToCol(htmlInputInit.value, table) + ',';
        }
        for (i = 0; i < table.rows.length; i++) {
            for (var j = 0; j < table.rows[0].cells.length; j++) {
                var index = j + 1;
                var indexCol = ',' + index + ','
                if (colsIndex.indexOf(indexCol) > -1) {
                    table.rows[i].cells[j].style.display = "none";
                }
                else {
                    table.rows[i].cells[j].style.display = "";
                }
            }
        }
        var oEvent = document.all(clientID + "_AllColLayer");
        var chks = oEvent.getElementsByTagName("INPUT");
        for (var k = 0; k < chks.length; k++) {
            if (chks[k].type == "checkbox") {
                var indexCol = ',' + chks[k].value + ','
                if (colsIndex.indexOf(indexCol) > -1) {
                    chks[k].checked = false;
                }
                else {
                    chks[k].checked = true;
                }
            }
        }
    }
    function CloseLayer(clientID) {
        allColLayer = document.getElementById(clientID + "_AllColLayer");
        allColLayer.style.display = "none";
    }
</script>--%>